﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Personal_Header.ascx.cs"
    Inherits="APP_Controls_Personal_Header" %>

<div class="per_header_box">
    <!--PerLeft-->
    <div class="per_header_left">
        <!--Portrait-->
        <div class="per_header_portrait">
            <div class="per_h_p_bg"></div>
            <div class="per_h_p_img">
                <img src="../images/girl.jpg" />
            </div>
        </div>
        <!--Portrait-->
        <h2 class="per_header_name">我的彩票</h2>
        <h2 class="per_header_wel">您好，<%=CMember!=null?CMember.nickname:"游客，请修改您姓名！" %></h2>
    </div>
    <!--PerLeft-->
    <!--PerRigft-->
    <div class="per_header_right">
        <div class="per_header_r_box">
            <p class="per_p_account">您的米米彩票投注站账户余额：<span><%=user_account != null ? user_account.total : 0%></span>元</p>
            <a class="per_header_topup" href="per_will_deposit.aspx?p=1">充值 </a>
            <a class="per_header_withdrawals" href="per_withdraw.aspx?p=2">提款</a>
            <div class="per_header_integral">
                <p class="per_header_i_c">积分：<b><%=user_account != null ? user_account.integralTotal : 0%></b> 个 </p>
                <a class="per_header_exchange" href="/integral/integral_index.aspx?p=1">兑换</a>
            </div>
        </div>
        <div class="per_header_r_box">
            <p class="per_p_account">提款：<span><%=user_account != null ? user_account.txTotal : 0%></span>元</p>
        </div>
        <div class="per_header_r_box">
            <ul class="per_header_ul">
                <li <%if (CMember != null && CMember.realname != null)
                    {%>
                    class="p_h_bg_cur01" <%}
                    else
                    { %>
                    class="p_h_bg01" <%} %>>姓名</li>
                <li <%if (CMember != null && CMember.cardid != null)
                    {%>
                    class="p_h_bg_cur02" <%}
                    else
                    { %>
                    class="p_h_bg02" <%} %>>身份证</li>
                <li <%if (CMember != null && CMember.mob != null)
                    {%>
                    class="p_h_bg_cur03" <%}
                    else
                    { %>
                    class="p_h_bg03" <%} %>>手机号</li>
                <li <%if (CMember != null && CMember.email != null)
                    {%>
                    class="p_h_bg_cur04" <%}
                    else
                    { %>
                    class="p_h_bg04" <%} %>>邮箱</li>
            </ul>
        </div>
    </div>
    <!--PerRigft-->
</div>
<!--PerTitle-->
<div class="per_title">
    <p class="per_title_time">
        上次登录时间：<%=CMember != null?CMember.lastLoginTime:DateTime.Now %>
    </p>
    <div class="per_cookie">
        当前位置：<a href="Default.aspx">首页</a> &gt; 我的彩票
    </div>
</div>
<!--PerTitle-->
<!--Content-->
<div class="per_content">
    <div class="per_left">
        <ul class="per_sub">
            <li <%if (n == 1)
                {%>class="cur"
                <%} %>><b class="b1"></b><a href="/per_record.aspx?n=1">购彩记录</a></li>
            <li <%if (n == 5)
                {%>class="cur"
                <%} %>><b class="b4"></b><a href="/per_together.aspx?n=5">合买记录</a></li>
            <%--  <li <%if (n == 2)
                {%>class="cur" <%} %>><b class="b2"></b><a href="/?n=2">追号记录</a></li>--%>
            <li <%if (n == 3)
                {%>class="cur"
                <%} %>><b class="b3"></b><a href="/per_accout.aspx?n=3">账户明细</a></li>
            <li <%if (n == 4)
                {%>class="cur"
                <%} %>><b class="b4"></b><a href="/per_documentary_me.aspx?n=4&m=2">跟单记录</a></li>

        </ul>
        <ul class="per_left_sub">

            <li><a href="/per_will_deposit.aspx?p=1" <%if (p == 1)
                    {%>class="pCur"
                <%} %>>我要充值</a></li>
            <li><a href="/per_withdraw.aspx?p=2" <%if (p == 2)
                    {%>class="pCur"
                <%} %>>我要提款</a></li>
            <li><a href="/per_prepaid_records.aspx?p=3" <%if (p == 3)
                    {%>class="pCur"
                <%} %>>充值记录</a></li>
            <li><a href="/per_tx_records.aspx?p=4" <%if (p == 4)
                    {%>class="pCur"
                <%} %>>提款记录</a></li>
            <li><a href="../integral/per_exchange_detailed.aspx?p=5" <%if (p == 5)
                    {%>class="pCur"
                <%} %>>红包明细</a></li>
            <li><a href="../integral/per_exchange.aspx?p=6" <%if (p == 6)
                    {%>class="pCur"
                <%} %>>红包兑换</a></li>
            <li><a href="../integral/per_integral_detail.aspx?p=7" <%if (p == 7)
                    {%>class="pCur"
                <%} %>>积分明细</a></li>
            <%--  <li><a href="/per_baocun_record.aspx?p=8" <%if (p == 8)
                    {%>class="pCur"
                <%} %>>保存记录</a></li>--%>
            <%-- <li><a href="?p=9" <%if (p == 9)
                    {%>class="pCur" <%} %>>我的关注</a></li>--%>
            <li><a href="../integral/lottery_center.aspx?p=10" <%if (p == 10)
                    {%>class="pCur"
                <%} %>>活动中心</a></li>
            <li><a href="../integral/per_given_record.aspx?p=11" <%if (p == 11)
                    {%>class="pCur"
                <%} %>>赠送记录</a></li>

            <li><%=CMember!=null?(CMember.userLevel== 6 ?"<a href='../per_zhanyemeitiyuce_manage.aspx?u="+CMember.Id+"'>专业媒体预测</a>":""):""%></li>
            <li><%=CMember!=null?(CMember.userLevel== 6 ?"<a href='../forecastpost_add.aspx'>发布预测</a>":""):""%></li>
        </ul>
        <p class="per_left_t">账户设置</p>
        <ul class="per_left_setup">
            <li <%if (m == 0)
                {%>class="cur"
                <%} %>><b class="b01"></b><a href="/personal.aspx?m=0">个人资料</a></li>
            <li <%if (m == 1)
                {%>class="cur"
                <%} %>><b class="b02"></b><a href="/per_modify_p.aspx?m=1">密码管理</a></li>
            <li <%if (m == 2)
                {%>class="cur"
                <%} %>><b class="b03"></b><a href="/per_reset.aspx?m=2">重置密保问题</a></li>
            <li <%if (m == 3)
                {%>class="cur"
                <%} %>><b class="b04"></b><a href="/bind_bank.aspx?m=3">绑定银行卡</a></li>
            <li <%if (m == 4)
                {%>class="cur"
                <%} %>><b class="b05"></b><a href="/per_phone.aspx?m=4">修改手机号</a></li>
            <li <%if (m == 5)
                {%>class="cur"
                <%} %>><b class="b06"></b><a href="/sms.aspx?m=5">短信设置</a></li>
        </ul>
    </div>
